package com.halflife.comeElectricity.member.rider;

import com.halflife.framework.generator.annotation.QueryAnn;

import java.math.BigDecimal;

/**
 * Created by zhaoyf on 2018/10/8.
 */
@QueryAnn(title = "订单",mainTitle = "会员管理",table = "t_orderlog")
public class OrderLog {
    private Integer id;
    @QueryAnn("骑手Id")
    private Integer riderId;
    @QueryAnn("备注")
    private String memo;
    @QueryAnn("取电池Id")
    private Integer takeId;
    @QueryAnn("还电池Id")
    private Integer backId;
    @QueryAnn("取电池no")
    private String takeNo;
    @QueryAnn("还电池no")
    private String backNo;
    @QueryAnn("创建日期")
    private Long createDate;
    @QueryAnn("充值openID")
    private String openId;
    @QueryAnn("手机号码")
    private String phone;
    @QueryAnn("骑手名称")
    private String riderName;
    @QueryAnn("状态")
    private Integer status;
    @QueryAnn("还电池Id")
    private Integer orderId;
    @QueryAnn("还电池Id")
    private Integer batteryBoxId;
    @QueryAnn("还电池Id")
    private Integer batteryCabinetId;
    @QueryAnn("还电池Id")
    private Integer batteryId;
    @QueryAnn("还电池Id")
    private String batteryBoxNo;
    @QueryAnn("还电池Id")
    private String batteryCabinetNo;
    @QueryAnn("还电池Id")
    private String batteryNo;


    public void init() {
        this.setStatus(0);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRiderId() {
        return riderId;
    }

    public void setRiderId(Integer riderId) {
        this.riderId = riderId;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getTakeId() {
        return takeId;
    }

    public void setTakeId(Integer takeId) {
        this.takeId = takeId;
    }

    public Integer getBackId() {
        return backId;
    }

    public void setBackId(Integer backId) {
        this.backId = backId;
    }

    public String getTakeNo() {
        return takeNo;
    }

    public void setTakeNo(String takeNo) {
        this.takeNo = takeNo;
    }

    public String getBackNo() {
        return backNo;
    }

    public void setBackNo(String backNo) {
        this.backNo = backNo;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRiderName() {
        return riderName;
    }

    public void setRiderName(String riderName) {
        this.riderName = riderName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getBatteryBoxId() {
        return batteryBoxId;
    }

    public void setBatteryBoxId(Integer batteryBoxId) {
        this.batteryBoxId = batteryBoxId;
    }

    public Integer getBatteryCabinetId() {
        return batteryCabinetId;
    }

    public void setBatteryCabinetId(Integer batteryCabinetId) {
        this.batteryCabinetId = batteryCabinetId;
    }

    public Integer getBatteryId() {
        return batteryId;
    }

    public void setBatteryId(Integer batteryId) {
        this.batteryId = batteryId;
    }

    public String getBatteryBoxNo() {
        return batteryBoxNo;
    }

    public void setBatteryBoxNo(String batteryBoxNo) {
        this.batteryBoxNo = batteryBoxNo;
    }

    public String getBatteryCabinetNo() {
        return batteryCabinetNo;
    }

    public void setBatteryCabinetNo(String batteryCabinetNo) {
        this.batteryCabinetNo = batteryCabinetNo;
    }

    public String getBatteryNo() {
        return batteryNo;
    }

    public void setBatteryNo(String batteryNo) {
        this.batteryNo = batteryNo;
    }
}
